home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir36
/
batcmd94.zip
/
READ1ST
< prev
next >
Wrap
Text File
|
1994-05-20
|
5KB
|
162 lines
Bat Commander 91 CASTLEsoft Boston
************************************************************
* *
* Don Hinds *
* CASTLEsoft *
* 3 Draper Castle *
* Dorchester Mass. 02122 *
* *
************************************************************
Bat Commander/Magik/Zcolor/Editz/Zediit are
copyright by CASTLEsoft Boston.
The programs are written is ZBASIC and portions of the
code are copyright by '32 Bit Software'
When you make a BATch file on your HD, it takes 2048 bytes of
disk space, even if it's a few bytes long. So if you have lots of
Bat files, you can use a lot of disk space. I have 60 Bats in my
list. If they were individual batch files, 60 x 2048 = 122,880
bytes. The space of the file containing the Bats (Z.FLS) is 2048
bytes long. The program itself is 26,000+ bytes, which is a saving
of 92,000+ total bytes. It also keeps all your bats in one place.
Bat Commander allows all (well most all) your Bat files to be
in a single ASCII file. The file size limit is 6,000 bytes.
Enough for 1,000 lines of 6 chars each. (My Z.FLS has 60 Bats,
352 lines, w/average 5 chars per line). There is a limit of 200
Bat file names, if you wish to LIST them. You can run, list the
Bats, add, delete and edit the Bats, pass parameters, and list
contents of any Bat in the file.
Bat Commander is VERY easy to use (if you already use bats).
FIRST copy Z.COM into your root DIR. Z.COM is the actual program.
Z was picked, because it's handy to type, and very unlikly you
have another program called Z. Always use Lower case except when
typing END to finish a bat. Bat Commander is case sensitive.
To start Bat Commander, you need to create Z.FLS and add Bats.
z/? -will show a short HELP screen.
z/ed -brings up the EDIT menu. Choices are <A>dd, <D>elete,
<E>dit, <C>reate and <Q>uit. So start with 'c' and enter your
first Bat. Enter the Bat name, then the commands for the Bat. When
you are done, enter END (remember lower case and END in upper
case). The you may <W>rite that Bat or <Q>uit (if you made a
mistake). Bat Commander makes Z.BAK and Z.BKK backup files. The
first few times you run Bat Commander, there will be ERRORS
because those files to not yet exist. After entering 3 bats they
will no longer occur. So don't worry about them. Then <A>dd some
more Bats. When you are done <Q>uit will exit the EDIT menu, and
you may test your Bats.
z will list the Bats you have entered, sorted.
z/z will list the Bats in the order you entered them
z/lbat (where bat is the name of the Bat) will list the contents
of the bat.
z bat (where BAT is the name of your Bat) will run your Bat.
z bat x y will run the Bat with parameters x & y. Parameters
are used in the bat the same way as any other batch file.
z/ed gives you the EDIT menu. <D>elete asks the name of the
Bat to be deleted. When you <E>dit a Bat, it will show the
original line on the left. If you wish to change it type, the new
line. If you want it unchanged, press <enter> on the blank line.
To DELETE that line, enter 0. T0 INSERT another line start the
command with >. Example; >command When you reach the end of that
Bat, it will automatically be updated. You may review your changes
with <E>dit again, and just press <enter> at each line.
A suggestion when you are using %1 %2 in Bats. In your bat
precede the command with the same command and ECHO, and you
will be diplayed the command as it executes.
echo copy %1 %2
copy %1 %2
NOTE: Old Bat Commander users, remove the BLANK lines at the end
and the small case 'end' from the old Z.FLS. The LAST item in
Z.FLS should be END . Use an ASCII editor or your Word processor
in ASCII mode.
Include in this 'library' are A.COM, Z.COM, D.COM and E.COM.
Z.COM looks at C:\ for Z.FLS. The others use the drive that
matches proper 'x.COM' for their "Z.FLS". You may rename z.com to
c.com then d.com (or e.com) to z.com, if that is your primary
drive. At the far right of the screen will be A, C, D or E
depending on which Bat Commander is in use.
Added to the ZIP are EDITZ to edit the Z.FLS that Bat Commander uses (only
for C:\ drive). ZEDITT is a simple ASCII line editor you can use to edit
Autoexce and Config.sys files. MAGIK is an easy to use Dialer program which
keeps a database of your numbers. ETIME adds minutes and seconds. MURDER
is a simple Murder Whodunnit.